Optimal. Leaf size=102 \[ \frac{2 c^2 \tan (e+f x) \log (\sec (e+f x)+1)}{f \sqrt{a \sec (e+f x)+a} \sqrt{c-c \sec (e+f x)}}+\frac{c^2 \tan (e+f x) \log (\cos (e+f x))}{f \sqrt{a \sec (e+f x)+a} \sqrt{c-c \sec (e+f x)}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.106863, antiderivative size = 102, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 2, integrand size = 30, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.067, Rules used = {3912, 72} \[ \frac{2 c^2 \tan (e+f x) \log (\sec (e+f x)+1)}{f \sqrt{a \sec (e+f x)+a} \sqrt{c-c \sec (e+f x)}}+\frac{c^2 \tan (e+f x) \log (\cos (e+f x))}{f \sqrt{a \sec (e+f x)+a} \sqrt{c-c \sec (e+f x)}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 3912
Rule 72
Rubi steps
\begin{align*} \int \frac{(c-c \sec (e+f x))^{3/2}}{\sqrt{a+a \sec (e+f x)}} \, dx &=-\frac{(a c \tan (e+f x)) \operatorname{Subst}\left (\int \frac{c-c x}{x (a+a x)} \, dx,x,\sec (e+f x)\right )}{f \sqrt{a+a \sec (e+f x)} \sqrt{c-c \sec (e+f x)}}\\ &=-\frac{(a c \tan (e+f x)) \operatorname{Subst}\left (\int \left (\frac{c}{a x}-\frac{2 c}{a (1+x)}\right ) \, dx,x,\sec (e+f x)\right )}{f \sqrt{a+a \sec (e+f x)} \sqrt{c-c \sec (e+f x)}}\\ &=\frac{c^2 \log (\cos (e+f x)) \tan (e+f x)}{f \sqrt{a+a \sec (e+f x)} \sqrt{c-c \sec (e+f x)}}+\frac{2 c^2 \log (1+\sec (e+f x)) \tan (e+f x)}{f \sqrt{a+a \sec (e+f x)} \sqrt{c-c \sec (e+f x)}}\\ \end{align*}
Mathematica [C] time = 9.15407, size = 103, normalized size = 1.01 \[ -\frac{c \left (1+e^{i (e+f x)}\right ) \left (4 i \log \left (1+e^{i (e+f x)}\right )-i \log \left (1+e^{2 i (e+f x)}\right )+f x\right ) \sqrt{c-c \sec (e+f x)}}{f \left (-1+e^{i (e+f x)}\right ) \sqrt{a (\sec (e+f x)+1)}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.287, size = 93, normalized size = 0.9 \begin{align*}{\frac{ \left ( \cos \left ( fx+e \right ) \right ) ^{2}}{af\sin \left ( fx+e \right ) \left ( -1+\cos \left ( fx+e \right ) \right ) }\ln \left ( -4\,{\frac{\cos \left ( fx+e \right ) }{ \left ( 1+\cos \left ( fx+e \right ) \right ) ^{2}}} \right ) \left ({\frac{c \left ( -1+\cos \left ( fx+e \right ) \right ) }{\cos \left ( fx+e \right ) }} \right ) ^{{\frac{3}{2}}}\sqrt{{\frac{a \left ( 1+\cos \left ( fx+e \right ) \right ) }{\cos \left ( fx+e \right ) }}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 1.81088, size = 81, normalized size = 0.79 \begin{align*} -\frac{{\left ({\left (f x + e\right )} c + c \arctan \left (\sin \left (2 \, f x + 2 \, e\right ), \cos \left (2 \, f x + 2 \, e\right ) + 1\right ) - 4 \, c \arctan \left (\sin \left (f x + e\right ), \cos \left (f x + e\right ) + 1\right )\right )} \sqrt{c}}{\sqrt{a} f} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (\frac{{\left (-c \sec \left (f x + e\right ) + c\right )}^{\frac{3}{2}}}{\sqrt{a \sec \left (f x + e\right ) + a}}, x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\left (- c \left (\sec{\left (e + f x \right )} - 1\right )\right )^{\frac{3}{2}}}{\sqrt{a \left (\sec{\left (e + f x \right )} + 1\right )}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F(-2)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: TypeError} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]